home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / exampleCode / opengl / GLUT / README.glut2 < prev    next >
Text File  |  1996-11-11  |  3KB  |  85 lines

  1.  
  2. CHANGES for GLUT API version 2
  3. -------------------------------
  4.  
  5. GLUT API version 2 should be fully compatible with the GLUT API
  6. version 1.
  7.  
  8. Here are the GLUT API version 2 additions in more detail:
  9.  
  10.   GLUT_MULTISAMPLE - a display mode bit mask for requesting
  11.     multi-sampling (hw anti-aliasing) available for Reality Engine
  12.     class graphics hardware (IRIX 5.3 has multi-sampling GLX
  13.     extension).
  14.  
  15.   GLUT_STEREO - a display mode bit mask for requesting
  16.     a stereo (quad buffering) OpenGL visual.
  17.  
  18.   glutGet(GLUT_WINDOW_NUM_SAMPLES) - returns number of
  19.     samples for multisampling for the window.
  20.  
  21.   glutGet(GLUT_WINDOW_STEREO) - boolean for it window supports
  22.     stereo.
  23.  
  24.   glutGet(GLUT_ELAPSED_TIME) - an OS-portable way to
  25.     get the elapsed time in milliseconds since glutInit
  26.  
  27.   glutDeviceGet(GLUT_HAS_KEYBOARD) - if keyboard supported.
  28.  
  29.   glutDeviceGet(GLUT_HAS_MOUSE) - if mouse supported.
  30.  
  31.   glutDeviceGet(GLUT_HAS_SPACEBALL) - if spaceball supported.
  32.  
  33.   glutDeviceGet(GLUT_HAS_DIAL_AND_BUTTON_BOX) - if dial and
  34.     button box supported.
  35.  
  36.   glutDeviceGet(GLUT_HAS_TABLET) - if tablet supported.
  37.  
  38.   glutDeviceGet(GLUT_NUM_MOUSE_BUTTONS) - number of mouse
  39.     buttons supported.
  40.  
  41.   glutDeviceGet(GLUT_NUM_SPACEBALL_BUTTONS) - number of
  42.     spaceball buttons supported.
  43.  
  44.   glutDeviceGet(GLUT_NUM_BUTTON_BOX_BUTTONS) - number of
  45.     button box buttons supported.
  46.  
  47.   glutDeviceGet(GLUT_NUM_DIALS) - number of dials supported.
  48.  
  49.   glutDeviceGet(GLUT_NUM_TABLET_BUTTONS) - number of table
  50.     buttons supported.
  51.  
  52.   glutSpecialFunc - register callback for keyboard function
  53.     and directional keys.
  54.  
  55.   glutSpaceballMotionFunc - register callback for spaceball
  56.     motion.
  57.  
  58.   glutSpaceballRotateFunc - register callback for spaceball
  59.     rotations.
  60.  
  61.   glutSpaceballButtonFunc - register callback for spaceball
  62.     button events.
  63.  
  64.   glutButtonBoxFunc - register callback for button box button
  65.     events.
  66.  
  67.   glutDialsFunc - register callback for dial motion.
  68.  
  69.   glutTabletMotionFunc - register callback for tablet motion.
  70.  
  71.   glutTabletButtonFunc - register callback for tablet button
  72.     events.
  73.  
  74.   glutExtensionSupported - report if a given OpenGL extension
  75.     is supported.
  76.  
  77. Also there are a handful of minor bug fixes (of course).
  78.  
  79. The stereo and multisampling stuff is probably (for now) interesting
  80. mainly to Reality Engine graphics users.  The new device support uses
  81. the X Input extension.  It works with SGI versions of the devices.  I'm
  82. investigating how portable the current code is for other vendor's
  83. advertising of their similar X Input devices.
  84.  
  85.